package com.GB26875_3_2011.server;

import java.util.Locale;

/**
 * @author 蒋仕国
 * @projectName GB26875_3_211
 * @ClassName Server
 * @date 2025-01-13 13:03
 * @Description: TODO []
 */

public interface Server {

    void start() throws Exception;

    default boolean isLinux() {
        String osName = System.getProperty("os.name").toLowerCase(Locale.ROOT);
        return osName.contains("linux");
    }
}
